using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("GamesWonSegment")]
	public class GamesWonSegment : MonoClass
	{
		public GameObject m_root => method_3<GameObject>("m_root");

		public GamesWonCrown m_crown => method_3<GamesWonCrown>("m_crown");

		public GamesWonSegment(IntPtr address, string className)
			: base(address, className)
		{
		}

		public GamesWonSegment(IntPtr address)
			: this(address, "GamesWonSegment")
		{
		}

		public void Init(Reward.Type rewardType, int rewardAmount, bool hideCrown)
		{
			method_8("Init", rewardType, rewardAmount, hideCrown);
		}

		public void AnimateReward()
		{
			method_8("AnimateReward");
		}

		public float GetWidth()
		{
			return method_11<float>("GetWidth", Array.Empty<object>());
		}

		public void Hide()
		{
			method_8("Hide");
		}
	}
}
